home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1996-06-09 | 3.8 KB | 148 lines |
- /*
- * INSTALL.DAT
- * Project: Personal Property
- * Version: 1.00
- */
-
- @DefineProject
- @Name = "Personal Property"
- @Version = "1.00"
-
- @Subdir = "\\PERSPROP"
- @OutDrive = Z
- @EndProject
-
- @DefineVars
- @Qstring @PkgType = "BOX"
- @Integer @Blue = @RGB(0,0,255) //DEFINE COLOR BLUE
- @Integer @Black = @RGB(0,0,0) //DEFINE COLOR BLACK
-
- @EndVars
- @PkgType = @GetINI("COSMI CDSETUP", "PkgMethod")
-
-
-
- @BackgroundMode(3,@Blue,@Black)
- @Display
- @Cls
-
- Congratulations on your purchase of @Name!
-
- This program will now install @Name
- to your hard disk drive and verify the integrity
- of the CD-ROM disk. You may press the [Esc] key
- at any time to abort the installation.
-
-
- @Pause
- @EndDisplay
- @GetOutDrive
- @Cls
- Select the HARD disk drive on which you wish to install your
- new copy of @Name.
- ie. "Drive C:"
-
-
-
-
-
-
-
-
-
-
-
- @Suppress(0, 1)
- Use the [CURSOR] to highlight a drive letter. Press [ENTER]
- to select that drive.
-
-
- @EndOutDrive
-
-
- @GetSubdir
- @Cls
- INSTALL is now suggesting a name for a program destination subdirectory
- to which files will be copied. Press [ENTER] to use @OutDrive:@SubDir,
- or type "\" and a "path", where "path" is the subdirectory you want INSTALL
- to use.
-
-
-
- @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
- @EndSubdir
-
- @DefineVars
- @Qstring @Item1 = "@OutDrive:\\@Subdir\\persprop.exe, Personal Property,
- @OutDrive:\\@Subdir\\persprop.exe"
- @Qstring @Item2 = "@OutDrive:\\@Subdir\\persprop.hlp, Personal Property Help,
- @OutDrive:\\@Subdir\\persprop.hlp"
- @Qstring @Item3 = "@OutDrive:\\@Subdir\\persprop.wri, Personal Property Manual,
- @OutDrive:\\@Subdir\\persprop.wri"
- @Qstring @Item4 = "@OutDrive:\\@Subdir\\slot.exe, Slot Machine,
- @OutDrive:\\@Subdir\\slot.exe"
- @Qstring @Item5 = "@OutDrive:\\@Subdir\\slot.hlp, Slot Machine Help,
- @OutDrive:\\@Subdir\\slot.hlp"
- @Qstring @Item6 = "@OutDrive:\\@Subdir\\slot.wri, Slot Machine Manual,
- @OutDrive:\\@Subdir\\slot.wri"
- @EndVars
-
- @DefineDisk
- @Label = "PERSPROP Disk #1"
- @BeginLib 331.001
- @F PERSPROP.DAT @S 665 @O PERSPROP.DAT
- @F PERSPROP.HLP @S 39443 @O PERSPROP.HLP
- @F PERSPROP.GRP @S 1615 @O PERSPROP.GRP
- @F SETUP1.EXE @S 27153 @O SETUP1.EXE
- @F VER.DLL @S 9696 @O VER.DLL
- @F CMDIALOG.VBX @S 18688 @O CMDIALOG.VBX
- @F SETUPKIT.DLL @S 7008 @O SETUPKIT.DLL
- @F VBRUN300.DLL @S 398416 @O VBRUN300.DLL
- @F DDEML.DLL @S 39424 @O DDEML.DLL
- @F THREED.VBX @S 64432 @O THREED.VBX
- @F MHGLBX.VBX @S 117344 @O MHGLBX.VBX
- @F PICCLIP.VBX @S 15840 @O PICCLIP.VBX
- @F COMMDLG.DLL @S 89248 @O COMMDLG.DLL
- @F PERSPROP.EXE @S 204822 @O PERSPROP.EXE
- @EndLib
-
- @EndDisk
-
- @Finish
- @Cls
- @Copy("persprop.wri", "@OutDrive:\\@Subdir\\*.*")
- @If("@PkgType" == "JEWEL")
- @Copy("slot.exe", "@OutDrive:\\@Subdir\\*.exe")
- @Copy("slot.hlp", "@OutDrive:\\@Subdir\\*.*")
- @Copy("slot.wri", "@OutDrive:\\@Subdir\\*.*")
- @ProgramManager("[CreateGroup(COSMI @Name)]
- [AddItem(@Item1, 0)][AddItem(@Item2, 0)]
- [AddItem(@Item3, 0)][AddItem(@Item4, 0)]
- [AddItem(@Item5, 0)][AddItem(@Item6, 0)]")
- @Else
- @Copy("slot.exe", "@OutDrive:\\@Subdir\\*.exe")
- @Copy("slot.hlp", "@OutDrive:\\@Subdir\\*.*")
- @Copy("slot.wri", "@OutDrive:\\@Subdir\\*.*")
- @ProgramManager("[CreateGroup(COSMI @Name)]
- [AddItem(@Item1, 0)][AddItem(@Item2, 0)]
- [AddItem(@Item3, 0)][AddItem(@Item4, 0)]
- [AddItem(@Item5, 0)][AddItem(@Item6, 0)]")
- @EndIf
- @ChDrive @OutDrive
- @ChDir "@SubDir"
- //delete files from cosmitmp.dir and remove that dir
- @Delete("@OutDrive:\\cosmitmp.dir\\*.*")
- @RmDir("@OutDrive:\\cosmitmp.dir")
-
- @Cls
- Installation of @Name is now finished.
- A New application group has been created titled COSMI.
-
-
-
-
- @Pause
- @EndFinish
-
- /* end-of-file */
-